<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
<script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js"></script>
</head>
<body>
    <div  class="prism-player" id="J_prismPlayer"></div>
    <script>
        var player = new Aliplayer({
            id: 'J_prismPlayer',
            width: '100%',
            autoplay: false,
            cover: 'http://liveroom-img.oss-cn-qingdao.aliyuncs.com/logo.png',  
            //播放配置，加密视频
            encryptType:'1',//如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
            vid : '37f52a9435504b1a81ec288f902bcbc1',
            playauth : 'eyJTZWN1cml0eVRva2VuIjoiQ0FJU2h3TjFxNkZ0NUIyeWZTaklyNWJkZWYyRzJhY1cwSXE0WUI3bTNERU1OZGQ2cW83VG9UejJJSDVFZW5OcUF1d2F2Lzh5bEd0VDZQZ1psck1xRnNJYkhCV1lNcEFydGMwSm9GejZKcExGc3QySjZyOEpqc1ZIeEtzTHoxbXBzdlhKYXNEVkVmbDJFNVhFTWlJUi8wMGU2TC8rY2lyWXBUWEhWYlNDbFo5Z2FQa09Rd0M4ZGtBb0xkeEtKd3hrMnQxNFVtWFdPYVNDUHdMU2htUEJMVXhtdldnR2wyUnp1NHV5M3ZPZDVoZlpwMXI4eE80YXhlTDBQb1AyVjgxbExacGxlc3FwM0k0U2M3YmFnaFpVNGdscjhxbHg3c3BCNVN5Vmt0eVdHVWhKL3phTElvaXQ3TnBqZmlCMGVvUUFQb3BGcC9YNmp2QWF3UExVbTliWXhncGhCOFIrWGo3RFpZYXV4N0d6ZW9XVE84MCthS3p3TmxuVXo5bUxMZU9WaVE0L1ptOEJQdzQ0RUxoSWFGMElVRUJ5RUd5RWNQSDZwd3FTUFZqK0U1TG9pdjltam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iOWRiZDU1MTFlYjhkMDYwMDE2M2UxYzk0YTQub3NzLWNuLXNoYW5naGFpLmFsaXl1bmNzLmNvbS8zN2Y1MmE5NDM1NTA0YjFhODFlYzI4OGY5MDJiY2JjMS9zbmFwc2hvdHMvZGE3NzcyMTVkNzE4NDA1Y2IxY2ViMjVhM2NhMDgxYjgtMDAwMDQuanBnP0V4cGlyZXM9MTYyNjk1NDQ1NSZPU1NBY2Nlc3NLZXlJZD1MVEFJNEZmRDYzem9xbm02Y2tpQkZmWFomU2lnbmF0dXJlPXEzTVlRcXNBaURwYU4ydVRtalFJcHpqNWpkbyUzRCIsIkR1cmF0aW9uIjoyMDEuOTU4fSwiQWNjZXNzS2V5SWQiOiJTVFMuTlVoMkcyNHg3Z0hTYjhXODFZOVhWRUt4QyIsIkFjY2Vzc0tleVNlY3JldCI6IjdqWkMxUGpoakNpVzM5V01wUldoUnFKMVNZTmt4Sm5zTk5lNENicDgyYjZ3IiwiUmVnaW9uIjoiY24tc2hhbmdoYWkiLCJDdXN0b21lcklkIjoxNTU2MTE0NzMzMzE2OTczfQ==',
        },function(player){
            console.log('播放器创建好了。')
        });
    </script>
</body>
</html>